package com.fanben100.domain;

import java.io.Serializable;

/**
 * 消费者
 * 
 * @author CYC
 * 
 */
public class Customer implements LoginModel {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 身份证号
	 */
	private String identityNo;

	public String getIdentityNo() {
		return identityNo;
	}

	public void setIdentityNo(String identityNo) {
		this.identityNo = identityNo;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	/**
	 * 姓名
	 */
	private String name;

	/**
	 * 会员卡号
	 */
	private String cardNo;

	/**
	 * 会员卡密码
	 */
	private String cardPassword;

	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

	public String getCardPassword() {
		return cardPassword;
	}

	public void setCardPassword(String cardPassword) {
		this.cardPassword = cardPassword;
	}

	public Serializable getLoginId() {
		return this.cardNo;
	}

	public String getLoginPassword() {
		return this.cardPassword;
	}

	public void setLoginId(Serializable loginId) {
		this.cardNo = (String) loginId;
	}

	public void setLoginPassword(String loginPassword) {
		this.cardPassword = loginPassword;
	}

	public String getRealName() {
		return this.name;
	}

	public void setRealName(String realName) {
		this.name = realName;
	}

	public String getIdentify() {
		return identityNo;
	}

	public void setIdentify(String identify) {
		this.identityNo = identify;
	}

}
